const { searchInfore, selectInfore, addInfore, getInfore, backInfore, changeInfore, deleteInfore } = require("../controller/information")
const router = require("koa-router")()
const auth = require("../middleware/auth");

router.post('/searchInfore', auth, searchInfore)
router.post('/selectInfore', auth, selectInfore)
router.post('/addInfore', auth, addInfore)
router.get('/getInfore', auth, getInfore)
router.post('/backInfore', auth, backInfore)
router.post('/changeInfore', auth, changeInfore)
router.post('/deleteInfore', auth, deleteInfore)
module.exports = router
